@charset "utf-8"; //设置字符编码。
$widhtpx:1280px; //版心   0.69
$widhtpct:70%; //1280/1840 = 0.7 响应式  
@import './sass_mixin.scss';
@import "./header.scss";

main {
    width: $widhtpx;
    height: 609px;
    margin: 0 auto;
    margin-bottom: 50px;
    #message{
        position: fixed;
        width: 500px;
        height: 40px;
        top: 100px;
        left: 37%;
        border: 2px solid #3EB135;
        z-index: 99;
        background: #fff;
        border-radius: 7px;
        display: none;
        line-height: 40px;
        text-indent: 50px;
    }
    h2 {
        line-height: 60px;
        font-size: 24px;
        text-indent: 6px;
        background-color: #f4f4f4;
        font-weight: 500;
        margin-top: 35px;

    }

    .formBox {
        width: 100%;
        @include flex-row();

        .login {
            @include flex-row();
            flex: 1;
            border-right: 1px solid #ccc;
            height: 509px;
            margin-top: 20px;

            .loginBox {
                margin: 20px 0;
                width: 400px;
                height: 469px;
                text-align: center;
                .password{
                    width: 300px;
                }
                .otherLogin {
                    position: relative;
                    margin: 10px 0;

                    hr {
                        width: 100%;
                        position: absolute;
                        top: 20px;
                        z-index: -1;
                    }

                    >p {
                        width: 100px;
                        z-index: 1;
                        background: #fff;
                        margin-left: 150px;
                        text-align: center;
                    }

                    .iconfont {
                        width: 35px;
                        height: 35px;
                        font-size: 35px;
                        margin-right: 10px;

                        &:first-child {
                            color: #3EB135;
                        }

                        &:nth-child(2) {
                            color: #12A8EB;
                        }

                        &:nth-child(3) {
                            color: #DF4D69;
                        }

                        &:last-child {
                            color: #12A8EB;
                        }
                    }
                }

                legend {
                    border-bottom: 4px solid #378694;
                    line-height: 40px;
                    height: 40px;
                    min-width: 120px;
                    font-size: 14px;
                    color: #378694;
                    margin-bottom: 10px;
                }

                p {
                    color: #7D7D7D;
                    line-height: 40px;
                    font-size: 12px;
                    text-align: left;
                }

                input:first-of-type {
                    width: 100%;
                    height: 35px;
                    text-indent: 23px;
                    border: none;
                    border-bottom: 1px solid #dadada;
                }

                .loginBtn {
                    display: block;
                    width: 100%;
                    height: 52px;
                    background: #DADADA;
                    color: #fff;
                    line-height: 52px;
                    font-size: 14px;
                    text-align: center;
                    
                }

                select {
                    width: 100%;
                    height: 36px;
                    padding-top: 10px;
                    border: none;
                    border-bottom: 1px solid #ababab;

                    option {
                        width: 36px;
                    }
                }
            }
        }

        .register {
            flex: 1;
            @include flex-col();
            justify-content: flex-start;
            align-self: flex-start;

            p {
                font-size: 24px;
                text-indent: 6px;
                line-height: 60px;
                width: 400px;
                margin-top: 20px;
            }

            a {
                display: block;
                width: 400px;
                height: 52px;
                line-height: 52px;
                text-align: center;
                background: #000;
                color: #fff;
                font-size: 14px;
            }
        }
    }
}


@import "./footer.scss";